<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <script src="angular/angular.js"></script>
</head>
<body>
<div ng-app="" ng-init="click=false">
    <button ng-click="click= !click">隐藏/显示</button>
    <input type="text"ng-mouseenter="click=!click" ng-mouseleave="click=!click" ng- ng-model="click">
    <div ng-hide="click">
        请输入一个名字：<input type="text" ng-model="name">
        Hello <span ng-bind="name"></span>
    </div>
</div>
</body>
</html>